package uk.co.magiclantern.mvc.controller
{
	
	import uk.co.magiclantern.mvc.imvc.IController;
	import uk.co.magiclantern.mvc.imvc.*;
	import mx.core.UIComponent;

	public class MLPFlexController extends UIComponent implements IController
	{
		 
		private var _view:IView;
		private var _model:IModel;
		
		public function MLPFlexController (m:IModel, v:IView)
		{
			trace( "Abstract Flex Controller" );
			model = m
			view = v
		}
		
		public function set model(m:IModel):void
	 	{
	 		_model = m;
	 	}
	 	
	 	public function get model():IModel
	 	{
	 		return _model;
	 	}
	 	
		public function set view(v:IView):void
	 	{
	 		_view = v;
	 	}
	 	
	 	public function get view():IView
	 	{
	 		return _view;
	 	}
	}
	
}